#include"List.h"
void text()
{
	ListNode* plist= NULL;
	ListInit(&plist);
	Listpushback(plist, 1);
	Listprint(plist);
	Listpushback(plist, 2);
	Listpushback(plist, 3);
	Listpushback(plist, 4);
	Listprint(plist);
	Listpushfront(plist, 100);
	Listprint(plist);
	Listpopback(plist);
	Listprint(plist);
	Listpopback(plist);
	Listprint(plist);
	Listpopfront(plist);
	Listprint(plist);
	ListNode*pos= ListFind(plist, 2);
	Listinsertback(pos, 100);
	Listprint(plist);
	ListNode* pos1 = ListFind(plist, 2);
	Listinsertfront(pos1, 111);
	Listprint(plist);
	ListNode* pos2 = ListFind(plist, 2);
	ListErase(pos2);
	Listprint(plist);
}
int main()
{
	text();
	return 0;
}
